-
Notifications
You must be signed in to change notification settings - Fork 208
[ENH] Correct broken source links for set_params
and get_params
in Aeon estimator docs
#2754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Thank you for contributing to
|
set_params
and get_params
in Aeon estimator docsset_params
and get_params
in Aeon estimator docs
Please update your PR text, this does not represent the contents of the PR. From what I can tell clicking on the source link in the PR website build this does not actually change anything? |
Yes it is not working for the local build, since the generated source link still point to the local sklearn installation, |
That does not seem to be the case in the PR build though https://aeon-toolkit--2754.org.readthedocs.build/en/2754/ |
Reference Issues/PRs
Fixes: #2752
What does this implement/fix? Explain your changes.
This PR fixes broken "Source" links in the Aeon documentation for the
set_params
andget_params
methods.Currently, the autogenerated links incorrectly point to sklearn paths such as:
"https://github.com/aeon-toolkit/aeon/blob/main/sklearn/base.py#L255-L297"
which leads to a 404 error, since these methods are inherited from
sklearn.BaseEstimator
and not directly implemented in Aeon code.Fixes broken "Source" links by modifying
conf.py
to exclude non-Aeon paths (e.g.,sklearn/base.py
) from autogenerated documentation links.Does your contribution introduce a new dependency? If yes, which one?
Any other comments?
PR checklist
For all contributions
For new estimators and functions
__maintainer__
at the top of relevant files and want to be contacted regarding its maintenance. Unmaintained files may be removed. This is for the full file, and you should not add yourself if you are just making minor changes or do not want to help maintain its contents.For developers with write access